<?php 
$tabla="delegaciones";
$condicion=" DelegaActiva=1 ";
$orden=" order by rand() desc limit 0,3";
$res=cons_sql($tabla,$condicion,$orden);
$a=1;
if(mysql_num_rows($res)>0):
?>
<div class="sol">
<div class="isss">Delegaciones del INSSSEP</div>
<?php while ($reg=  mysql_fetch_array($res)):?>

<div class="row">
<div class="col-md-12"><span class="lugar"><strong><?php echo strtoupper(utf8_encode($reg['DelegaLocalidad']))?></strong><br> <?php echo utf8_encode($reg['DelegaDelegado'])?> &nbsp;&nbsp;<span class="glyphicon glyphicon-phone-alt" aria-hidden="true"></span> &nbsp;<b><?php echo utf8_encode($reg['DelegaTelefono'])?></b></span></div>

</div>

<?php endwhile?>
<a href="delegaciones.php"><div class="ver">Ver Todas</div></a>
</div>
<?php endif ?>	